package com.test.proxy.cglib;

/**
 * @Author: junwe
 * @Date: 2020/12/17 20:54
 */
public class Client {
    public static void main(String[] args) {
        TeacherDao teacherDao = new TeacherDao();
        TeacherDao proxyObject = (TeacherDao) new ProxyFactory(teacherDao).getProxyObject();
        proxyObject.teach();
    }
}
